package com.audaque.springboot.foshanupload.web.querydslmodedemo.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user_entity")
@Entity
@Accessors(chain = true)
public class UserEntity implements Serializable {

    @Id
    @GeneratedValue
    private Integer id;

    private Integer age;

    private String name;

    private Integer height;

    private Date createTime;


}
